//package com.fled.itsmbigscreen.config;
//
//import cn.afterturn.easypoi.excel.entity.result.ExcelVerifyHandlerResult;
//import cn.afterturn.easypoi.handler.inter.IExcelVerifyHandler;
//import com.qike.sky_purchase.dto.OrderImportDto;
//import com.qike.sky_purchase.utils.ObjectUtil;
//import lombok.SneakyThrows;
//import org.apache.commons.lang3.ObjectUtils;
//import org.springframework.stereotype.Component;
//
///**
// * 检查是否有空行
// */
//@Component
//public class OrderExcelVerifyHandler implements IExcelVerifyHandler <OrderImportDto>{
//    @SneakyThrows
//    @Override
//    public ExcelVerifyHandlerResult verifyHandler(OrderImportDto obj) {
//        ExcelVerifyHandlerResult result=new ExcelVerifyHandlerResult(true);
//        if (!ObjectUtils.isEmpty(obj)){
//            //判断对象属性是否全部为空
//            boolean b = ObjectUtil.allFieldIsNullFlag(obj);
//            result.setSuccess(!b);
//        }
//        return result;
//    }
//}
////也可以把范型改成Object
